<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>
<div align="center" id="cajaactualizar"><br>
<form action="<?php echo url_for('actualizar/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>

  <table align="center"> 
    <tfoot>
      <tr>
        <td align="center" colspan="2"><br>
          <a href="<?php echo url_for('inicioAdmin/index') ?>"><button id="contextual" class="buttonmedium  button-black"><span><div id="imagenes" valign="middle"><div class="spritesatrasmall" id="atrasmall_jpg"></div></div><div id="textobutton">Regresar</div></span></button></a>
          
          <button id="contextual" class="buttonmedium button-black"><span><div id="imagenes" valign="middle"><div class="spritesguardar" id="guardar_jpg"></div></div><div id="textobutton">Guardar</div></span></button>
        </td>
      </tr>
    </tfoot>
    <tbody id="contextual">
      <?php echo $form ?>
    </tbody>
  </table><br>
<br>    
</form>
</div>